UnifiedRequester

class UnifiedRequester(client: <ERROR CLASS>, serialFormat: StandardKtorSerialFormat)

Functions

Link copied to clipboard
fun <T> createStandardWebsocketFlow(url: String, deserializer: DeserializationStrategy<T>, requestBuilder: <ERROR CLASS>.() -> Unit = {}): <ERROR CLASS>
fun <T> createStandardWebsocketFlow(url: String, checkReconnection: (Throwable?) -> Boolean, deserializer: DeserializationStrategy<T>, requestBuilder: <ERROR CLASS>.() -> Unit = {}): <ERROR CLASS>
Link copied to clipboard
fun <T> encodeUrlQueryValue(serializationStrategy: SerializationStrategy<T>, value: T): String
Link copied to clipboard
suspend fun <ResultType> uniget(url: String, resultDeserializer: DeserializationStrategy<ResultType>): ResultType
Link copied to clipboard
suspend fun <ResultType> unimultipart(url: String, mppFile: MPPFile, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
suspend fun <BodyType, ResultType> unimultipart(url: String, mppFile: MPPFile, otherData: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
suspend fun <ResultType> unimultipart(url: String, filename: String, inputProvider: <ERROR CLASS>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
suspend fun <BodyType, ResultType> unimultipart(url: String, filename: String, inputProvider: <ERROR CLASS>, otherData: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Link copied to clipboard
suspend fun <BodyType, ResultType> unipost(url: String, bodyInfo: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>): <ERROR CLASS>

Properties

Link copied to clipboard
val client: <ERROR CLASS>
Link copied to clipboard
val serialFormat: StandardKtorSerialFormat